<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>P-dd A simple example using the TestDatasource</title>
</head>
<body>
<?php
ini_set( 'include_path', '../;.' );

require_once( 'include_package.php' );

include_package( 'Datasources' );
include_package( 'DatabaseModel' );
include_package( 'Renderers' );
include_package( 'Renderers.HtmlRenderer' );

$oFactory = new DatabaseFactory(  new TestDatasource() );
$oDatabase = $oFactory->ConstructDatabase();

$oConfig = new HtmlRendererConfiguration();
echo( HtmlDatabaseRenderer::Render(  $oConfig, $oDatabase ) );


?>
</body>
</html>